from django.shortcuts import render


def index_view(request):
    uname = request.session.get('uname')
    return render(request, 'index.html',locals())
